package com.ayic.garbagerecycle.mapper;

import com.ayic.garbagerecycle.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("SELECT * FROM users WHERE username = #{username}")
    User selectByUsername(String username);
}
